package com.newstore.classes;

/**
 * Destinataire de la commande
 * @author Guillaume
 * @version 1.0
 */
public class Delivery
{
	private int id;
	private String name;
	private String reference;
	private String address;
	
	public int getId()
	{
		return id;
	}
	public void setId(int id)
	{
		this.id = id;
	}
	public String getName()
	{
		return name;
	}
	public void setName(String name)
	{
		this.name = name;
	}
	public String getReference()
	{
		return reference;
	}
	public void setReference(String reference)
	{
		this.reference = reference;
	}
	public String getAddress()
	{
		return address;
	}
	public void setAddress(String address)
	{
		this.address = address;
	}
	
	/**
	 *  Constructeur de Delivery
	 * @param id Id du destinataire
	 * @param name Nom du destinataire
	 * @param reference Référence du destinataire
	 * @param address Adresse du destinataire
	 */
	public Delivery(int id, String name, String reference, String address)
	{
		this.id = id;
		this.name = name;
		this.reference = reference;
		this.address = address;
	}
	public Delivery(String name, String reference, String address)
	{
		this.name = name;
		this.reference = reference;
		this.address = address;
	}

	

	
	
}
